package 多态.多态中成员方法的使用;

public class    Animal {
    String name="雪橇犬";
    public Animal(){}
    public Animal(String name) {
        this.name = name;
    }
    public void eat(){
        System.out.println("吃饭");
    }
}
